package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 系统部门
 * TableName : SYS_DEPARTMENT
 * ClassName : com.swlz.entity.Department
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-14 18:43:16
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("SYS_DEPARTMENT")
public class Department  extends BaseEntity  {


	/**
	 * <pre>系统部门编号 - DEPT_ID</pre>
	 **/
	@Id
	private Long deptId;
	/**
	 * <pre>系统部门名称 - DEPT_NAME</pre>
	 **/
	private String deptName;
	/**
	 * <pre>父系统部门编号 - DEPT_PARENT_ID</pre>
	 **/
	private Long deptParentId;
	/**
	 * <pre>部分负责人 - DEPT_USER_ID</pre>
	 **/
	private Long deptUserId;


	/**
	 * <pre>获取系统部门编号</pre>
	 **/
	public Long getDeptId() {
        return deptId;
    }

	/**
	 * <pre>设置系统部门编号</pre>
	 **/
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

	/**
	 * <pre>获取系统部门名称</pre>
	 **/
	public String getDeptName() {
        return deptName;
    }

	/**
	 * <pre>设置系统部门名称</pre>
	 **/
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

	/**
	 * <pre>获取父系统部门编号</pre>
	 **/
	public Long getDeptParentId() {
        return deptParentId;
    }

	/**
	 * <pre>设置父系统部门编号</pre>
	 **/
    public void setDeptParentId(Long deptParentId) {
        this.deptParentId = deptParentId;
    }

	/**
	 * <pre>获取部分负责人</pre>
	 **/
	public Long getDeptUserId() {
        return deptUserId;
    }

	/**
	 * <pre>设置部分负责人</pre>
	 **/
    public void setDeptUserId(Long deptUserId) {
        this.deptUserId = deptUserId;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("deptId=");
    	str.append(deptId);
    	str.append(", ");
    	str.append("deptName=");
    	str.append(deptName);
    	str.append(", ");
    	str.append("deptParentId=");
    	str.append(deptParentId);
    	str.append(", ");
    	str.append("deptUserId=");
    	str.append(deptUserId);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}